home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _EC4AC2E5088A4C37BC25D7C3B6FE7FD4 < prev    next >
Encoding:
Text File  |  2000-03-27  |  938 b   |  25 lines

  1. // template file for newyork directory
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7.  
  8.  
  9. local entity swatkiller // the guy who will push over the soda machine
  10. local entity soda_fall // the soda machine that will be tipped over
  11. local entity deadswatguy1 // the dead swat guy, the sound will be played from this origin to make it louder
  12. local int sig1
  13.  
  14. soda_fall = find entity with targetname "soda_fall"
  15. swatkiller = find entity with targetname "swatkiller"
  16. deadswatguy1 = find entity with targetname "deadswatguy1"
  17.  
  18. animate entity swatkiller  performing action STD_EPUSHOVER_N_PK_A  // guy pushing over the soda machine
  19. animate entity swatkiller  performing action SCRIPT_RELEASE
  20. moverotate entity soda_fall from file "tsr1_soda_fall.rof" signaling sig1
  21. wait .75 seconds 
  22. play sound "Impact/Metal/SodaMach.adp" for entity deadswatguy1 on channel CHAN_AUTO at volume 0.9
  23. wait for all clearing sig1
  24.  
  25. exit